import type { RouteRecordRaw } from "vue-router";
export const staticRoutes: Array<RouteRecordRaw> = [
  {
    path: "/",
    redirect: "/resource",
  },
  // 资源
  {
    path: "/resource",
    name: "Resource",
    component: () => import("@/views/resource/index.vue"),
    meta: {},
  },
  // 课程
  {
    path: "/course",
    name: "Course",
    component: () => import("@/views/course/index.vue"),
    meta: {},
  },
  // 练习室
  {
    path: "/practiceRoom",
    name: "PracticeRoom",
    component: () => import("@/views/practiceRoom/index.vue"),
    meta: {},
  },
  // 交流
  {
    path: "/interflow",
    name: "Interflow",
    component: () => import("@/views/interflow/index.vue"),
    meta: {},
  },
  // 我的
  {
    path: "/my",
    name: "My",
    component: () => import("@/views/my/index.vue"),
    meta: {},
  },
];
